Release 10.1A: OpenEdge Data Management:
DataServer for ORACLE


Building executables for the UNIX Client

This section contains instructions for building client executables. The script is located in the oebuild/make directory under the root of your OpenEdge install.

To build a UNIX client executable:

  1. Open a terminal and invoke a Bourne shell (/bin/sh) on the system where OpenEdge is installed.
  2. Change to user 'root'.
  3. Set and export the environment variable DLC to the OpenEdge installation directory. For example:
  4. DLC=/usr/OpenEdge/dlc
    export DLC 
    

  5. Optionally set and export the environment variable IMAGE to the full pathname of the executable to be generated. By default the client executable will be named:
  6. $DLC/oebuild/orarx 
    

  7. Set the environment variable ORACLE_HOME to the top level directory of your ORACLE installation. For example:
  8. ORACLE_HOME=/usr/oracle/9i 
    export ORACLE_HOME 
    

  9. Verify that the variable PATH contains the directory to the linker.
  10. Unset all the library path variables for your operating system. The script will set these variables as required. For example:
  11. unset LD_LIBRARY_PATH LIBPATH SHLIB_PATH 
    

  12. Run the script $DLC/oebuild/make/build_orarx.sh. If you did not set the IMAGE variable, the ORACLE DataServer client executable will be built as $DLC/oebuild/orarx, otherwise the executable is built as specified by $IMAGE.

To use your new executable once it is built, you must replace your default executable or set the PROEXE environment variable.

To replace your default client executable:

  1. Make a backup copy of the original executable. For example:
  2. cp $DLC/bin/_progres $DLC/bin/_progres.orig 
    

  3. Copy the newly built executable into your installed bin directory. For example:
  4. cp $DLC/oebuild/orarx $DLC/bin/_progres 
    

  5. Change permissions on the newly created executable to include the Set UID bit. For example:
  6. chmod u+s $DLC/bin/_progres 
    

To identify your new executable with an environment variable and without relocating:

  1. Define the environment variable PROEXE. For example:
  2. PROEXE=$DLC/oebuild/orarx 
    export PROEXE 
    

  3. Change permissions on the newly created executable to include the Set UID bit. For example:
  4. chmod u+s $DLC/oebuild/orarx 
    


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095